package com.salts.domain.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Objects;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

public class ComboDetail {

    private Integer id;
    private Integer comboId;
    private String comboName;
    private Integer clothId;
    private String comment;
    private String test11;
    private String test22;
    private String test33;

    // 省略构造方法和其他 getter、setter 方法



    public ComboDetail(Integer comboId, String comboName, Integer clothId, String comment, String test11, String test22, String test33) {
        this.comboId = comboId;
        this.comboName = comboName;
        this.clothId = clothId;
        this.comment = comment;
        this.test11 = test11;
        this.test22 = test22;
        this.test33 = test33;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getComboId() {
        return comboId;
    }

    public void setComboId(Integer comboId) {
        this.comboId = comboId;
    }

    public String getComboName() {
        return comboName;
    }

    public void setComboName(String comboName) {
        this.comboName = comboName;
    }

    public Integer getClothId() {
        return clothId;
    }

    public void setClothId(Integer clothId) {
        this.clothId = clothId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getTest11() {
        return test11;
    }

    public void setTest11(String test11) {
        this.test11 = test11;
    }

    public String getTest22() {
        return test22;
    }

    public void setTest22(String test22) {
        this.test22 = test22;
    }

    public String getTest33() {
        return test33;
    }

    public void setTest33(String test33) {
        this.test33 = test33;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ComboDetail that = (ComboDetail) o;
        return Objects.equals(id, that.id) && Objects.equals(comboId, that.comboId) && Objects.equals(comboName, that.comboName) && Objects.equals(clothId, that.clothId) && Objects.equals(comment, that.comment) && Objects.equals(test11, that.test11) && Objects.equals(test22, that.test22) && Objects.equals(test33, that.test33);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, comboId, comboName, clothId, comment, test11, test22, test33);
    }
}
